package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.system.dao.GdtjMapper;
import com.stylefeng.guns.modular.system.model.Gdtj;
import com.stylefeng.guns.modular.system.service.IGdtjService;

/**
 * <p>
 * 股票股东 服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-25
 */
@Service
@Transactional
public class GdtjServiceImpl extends ServiceImpl<GdtjMapper, Gdtj> implements IGdtjService {

	@Autowired
	private GdtjMapper gdtjMapper;
	
	@Override
	public Gdtj selectGdTjByGdtj(Gdtj gdtj) {
		return gdtjMapper.selectGdTjByGdtj(gdtj);
	}

	@Override
	public Gdtj selectDateByDm(String dm) {
		return gdtjMapper.selectDateByDm(dm);
	}

	@Override
	public List<Gdtj> selectListByDate(Gdtj newgdtj) {
		return gdtjMapper.selectListByDate(newgdtj);
	}

	@Override
	public int selectCountByName(String getgSharehdname) {
		return gdtjMapper.selectCountByName(getgSharehdname);
	}

	@Override
	public List<Map<String, Object>> selectMapsByDm(Page<Gdtj> page, String name,String dm,String sharestype) {
		return gdtjMapper.selectMapsByDm(page,name,dm,sharestype);
	}

	
}
